<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        span{
            display: inline-block;
            width: 100px;
            margin: 2px;
            padding: 5px,10px ;
            border: 1px solid #ebd7d7;
            border-radius: 5px;
            box-shadow: 2px 2px 2px rgba(255, 192, 203, 4);
            background-color: pink;
            text-align: center;
            color: hotpink;
        }
    </style>
</head>
<body>
    <script>
        //声明
        function sheet99(){
            for (let i = 1; i <= 9; i++) {
                for (let j = 1; j <= i; j++) {
                    document.write(`${j}*${i}=${i * j}<span>`);

                }
                document.write("<br>");
            }
        }
        //调用
        sheet99();
    </script>
</body>
</html>